package com.gitee.wsl.mathematics.algebraic.op

/**
 * A container for norm functional on element.
 *
 * @param T the type of element having norm defined.
 * @param R the type of norm.
 */
 interface Norm<in T : Any, out R> {
    /**
     * Computes the norm of [arg] (i.e., absolute value or vector length).
     */
     fun norm(arg: T): R
}